package cn.ym.user.service;

import cn.ym.basic.utils.AjaxResult;
import cn.ym.user.domain.User;
import cn.ym.basic.service.BaseService;

import javax.mail.MessagingException;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ym
 * @since 2023-03-28
 */
public interface IUserService extends BaseService<User> {
    //邮箱注册
    void emailRegister(Map<String, String> map) throws MessagingException;
    //邮箱注册---发送邮件---激活
    void active(Long id);
    //手机号注册
    AjaxResult phoneRegister(Map<String, String> map);

}
